package com.zaoke.web.bo.query.food;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class PromotionQuery {

	private Long id;
	
	private Long userid;
	
	private Long foodid;
	
	private String foodname;
	
	private Date fooddate;
	
	private Double singlemargin;
	
	private Double combomargin;
	
	private String singlemarginStr;
	
	private String combomarginStr;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getFoodid() {
		return foodid;
	}

	public void setFoodid(Long foodid) {
		this.foodid = foodid;
	}

	public String getFoodname() {
		return foodname;
	}

	public void setFoodname(String foodname) {
		this.foodname = foodname;
	}

	public Date getFooddate() {
		return fooddate;
	}

	public void setFooddate(Date fooddate) {
		this.fooddate = fooddate;
	}

	public Double getSinglemargin() {
		return singlemargin;
	}

	public void setSinglemargin(Double singlemargin) {
		this.singlemargin = singlemargin;
	}

	public Double getCombomargin() {
		return combomargin;
	}

	public void setCombomargin(Double combomargin) {
		this.combomargin = combomargin;
	}
	
	public String toString()
	{
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}

	public String getSinglemarginStr() {
		return singlemarginStr;
	}

	public void setSinglemarginStr(String singlemarginStr) {
		this.singlemarginStr = singlemarginStr;
	}

	public String getCombomarginStr() {
		return combomarginStr;
	}

	public void setCombomarginStr(String combomarginStr) {
		this.combomarginStr = combomarginStr;
	}
	
}
